#pragma once

#include <tchar.h>
#include <stdio.h>
#include <iostream>
#include <string>

#pragma comment(lib, "version.lib") // 链接Version库

struct VersionInfo
{
	int Major;
	int Minor;
	int Build;
	int Revision;
};

class FileVersion
{
public:
	static bool GetVersion(std::wstring fileName, VersionInfo& out);
};

